<%@page import="org.lxy.domain.RecycleGoodsEntity"%>
<%@page import="org.lxy.service.RecycleGoodsService"%>
<%@page import="org.lxy.service.UserInfoService"%>
<%@page import="org.lxy.domain.UserInfoEntity"%>
<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ page import="org.lxy.utils.CoreUtils" %>
<%
	RecycleGoodsService service = CoreUtils.recycleGoodsService;
	String ids = request.getParameter("ids");
String type =  request.getParameter("type");
	for (String id : ids.split(",")) {
		RecycleGoodsEntity entity = service.getById(Integer.parseInt(id));
		entity.setStatus(type.equals("1")?"审核通过":"审核不通过");
		service.updateById(entity);
	}

	out.write("1");
%>